<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/10/9
  Time: 20:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>index</title>
    <script src="<%=request.getContextPath()%>/styles/jquery-3.3.1.js"></script>
    <link type="text/css" rel="stylesheet" media="all" href="<%=request.getContextPath()%>/styles/global.css"/>
    <link type="text/css" rel="stylesheet" media="all" href="<%=request.getContextPath()%>/styles/global_color.css"/>

<style>
    #h
    {
        text-align: right;
        height: 61px;
    }
    #h a
    {
        margin-right: 50px;
        line-height: 61px;
        font-weight: bold;
    }
    #h a
    {
        color: #fff;
        text-decoration: none;
    }
</style>

</head>
<body class="index">

<div id="index_navi">
    <c:import url="/navigation.do"/>
    <script>
        var li = document.getElementById("menu").children;
        var title = document.getElementsByTagName('title')[0].textContent;
        for (let i = 0; i < li.length; i++) {
            if (li[i].children[0].className.startsWith(title)){
                li[i].children[0].className = title + '_on';
            }
        }
    </script>
</div>
<div id="h">
    <a href="<%=request.getContextPath()%>/admins/exit">[退出]</a>
</div>
<!--导航区域开始-->
</body>
</html>
